package com.jack.payment.entity.generate.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "用户钱包")
public class UserWalletModel implements Serializable {
    @Schema(description = "钱包id")
    private String walletId;
    @Schema(description = "用户id")
    private String userId;
    @Schema(description = "货币")
    private Integer currency;
    @Schema(description = "目前钱包里的金额")
    private BigDecimal  currencyWallet;
    @Schema(description = "总金额")
    private BigDecimal sumTotal;
    @Schema(description = "创建时间")
    private Long currentTime;
    @Schema(description = "是否显示")
    private Integer enable;


    @Schema(description = "修改时, 类型的区分, 1为增加 2: 减")
    private Integer type;
}
